package org.openstock.impl.def.charting.ui.swing.model;

import java.awt.Color;

import org.openstock.api.charting.model.BarDisplay;
import org.openstock.impl.def.core.model.Bar;

public class DefaultSwingBar extends Bar implements BarDisplay {

	private int width = 1;
	private Color color = Color.white;
	private Color backgroundColor = Color.black;
	
	public Color getBackgroundColor() {
		return backgroundColor;
	}

	public void setBackgroundColor(Color backgroundColor) {
		this.backgroundColor = backgroundColor;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

}
